<div ng-include src="'tpl/public/header.html'"></div> 
<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">信托公司列表</li>
  </ol>
  <form class="form-inline search-box" role="form" ng-submit="search()" novalidate>
    <div class="form-group">
      <label class="sr-only" >公司简称</label>
      <input type="text" class="form-control" placeholder="公司简称" ng-model="searchMap.cShortName">
    </div> 
    <button type="submit" class="btn btn-default">查询</button>
  </form>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="50">ID</th>
        <th>公司简称</th>
        <th>名称首字母</th>
        <th width="150">公司英文名</th>
        <th width="90">成立时间</th>
        <th width="100">注册资本</th>
        <th width="100">管理规模</th>
        <th width="100">所在城市</th>
        <th width="200">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="company in companys">
        <td>{{company.id}}</td>
        <td><a href="#/company/view?id={{company.id}}">{{company.cShortName}}</a></td>
        <td>{{company.cFirstLetter}}</td>
        <td>{{company.cEnglishName}}</td>
        <td>{{company.cEstablishDate}}</td>
        <td>{{company.cRegisteredCapital}}</td>
        <td>{{company.cAssetScale}}</td>
        <td>{{company.cHostCity}}</td>
        <td class="optd">
          <a href="#/company/edit?id={{company.id}}">编辑</a>
          <a class="cur-p" ng-click="deleteCompany(company.id)">删除</a>
        </td>
      </tr>
    </tbody>
  </table>

	<div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="companys.length > 0"></div>
</div>

